<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            {% include 'nav_li_profile.html' %}
            <li id="index">
               <a href="{% url 'index' %}"><i class="fa fa-dashboard"></i> <span class="nav-label">仪表盘</span><span class="label label-info pull-right"></span></a>
            </li>
            <li id="jd_user">
                <a><i class="fa fa-inbox"></i> <span class="nav-label">账号管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li class="user"> <a href="{% url 'user_list' %}">用户管理</a></li>
                    <li class="user"> <a href="{% url 'user_list' %}">部门管理</a></li>
                    <li class="user"> <a href="{% url 'user_list' %}">用户组管理</a></li>
                </ul>
            </li>
            <li id="jd_asset">
                <a><i class="fa fa-inbox"></i> <span class="nav-label">资产管理</span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    {# <li class="group"><a href="{% url 'asset_group_list' %}">查看资产组</a></li>#}
                    <li class="asset"> <a href="{% url 'asset_list' %}">IT资产<span class="label label-info pull-right">{{ asset_all }}/{{ asset_all}}</span></a></li>
                    <li class="asset"> <a href="{% url 'asset_list' %}">服务器资源<span class="label label-info pull-right">{{ host_active_num }}/{{ host_total_num}}</span></a></li>
                    <li class="asset"> <a href="{% url 'asset_list' %}">用户管理</a></li>
                </ul>
            </li>

            <li id="setting">
                   {# <a href="{% url 'setting' %}"><i class="fa fa-gears"></i> <span class="nav-label">设置</span><span class="label label-info pull-right"></span></a>#}
                   <a href="#"><i class="fa fa-gears"></i> <span class="nav-label">设置</span><span class="label label-info pull-right"></span></a>
            </li>
            <li class="special_link">
                <a href="http://www.youxi021.com" target="_blank"><i class="fa fa-database"></i> <span class="nav-label">际动官网</span></a>
            </li>
        </ul>

    </div>
</nav>
